package com.jic.filecenter.template;

import com.jic.common.base.vo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author zhoufeng
 * @Description: 用于前端请求传入接收数据实体
 * @date 2020-03-06 16:43
 */
@Data
@NoArgsConstructor
@ApiModel(description = "User请求参数")
public class TemplateUserRequest extends BaseEntity {

    @NotEmpty(message = "userId")
    @ApiModelProperty(notes = "用户ID",required = true)
    private Long userId;

    @NotEmpty(message = "userName")
    @ApiModelProperty(notes = "用户名")
    private String userName;

}
